package it.terry.luminosita.hardware;

import android.content.Context;

public class Sensor extends Object {
	
	private boolean lig_status = false;
	
	public static final int TYPE_LIGHT= 7;
	
	public int SensorType = 0;
	
	@SuppressWarnings("unused")
	private Context mContext;
	
	//Costruttore
	public Sensor(Context context, int type) {
		super();
		mContext = context;
		SensorType = type;
		
	}
	
	// Stato
	public boolean get_status(){
		return  lig_status;
		
	}
	
	//Attiva Sensore
	public boolean enable_lig(){
		
		lig_status = true;
		return lig_status;
		
	}
	
	//Disattiva Sensore
	public boolean disable_lig(){
		lig_status = false;
		return lig_status;
	}

}
